package com.zipking.cloud.springbootmybatis.guava;

import com.google.common.eventbus.Subscribe;

// 订阅者类
public class EventListener {

    @Subscribe
    public void onUserAction(UserActionEvent event) {
        System.out.println("User did: " + event.getAction());
    }
}

